import _fetch from './request'
function getUserInfo () {
  return _fetch({
    url: '/info',
    method: 'get'
  })
}
function logout () {
  return _fetch({
    url: '/logout',
    method: 'get'
  })
}
export { getUserInfo, logout }
